package suncertify.business;

import java.rmi.RemoteException;
import java.util.Map;

import suncertify.db.RecordNotFoundException;
import suncertify.domain.Room;
import suncertify.domain.RoomPrimaryKey;

public interface RoomServices {

	public void createRoom(Room room) throws RemoteException;

	public void deleteRoom(long recordNumber) throws RemoteException, RoomNotFoundException;

	public Room readRoom(RoomPrimaryKey key) throws RemoteException, RoomNotFoundException;

	public Map<Long, Room> getAllRecords() throws RemoteException;

	public void saveData() throws RemoteException, ServicesException;

}
